﻿niggles.Register({
    Initialise: function (niggles) {
        var me = this;
        niggles._snippets.card.Execute = function () { me.Execute(niggles, $(niggles._snippets.card)); };
    },
    Execute: function (niggles, cardSnippet) {
        var me = this;
        var control = $(cardSnippet.html());
        $('#deck').append(control);
        control.draggable({ handle: '.drag-handle' });
        control.show();
    }
});